<html>
	<head>
		<meta charset="utf-8"/>
		<title>BCode</title>
		<link rel="stylesheet" type="text/css" href="../style.css"/>
	</head>
	<body>
		<h1>BCode</h1>
		<h2>public</h2>
		<table id="public">
			<tr><td align="right"/><td><a href="#BCode()">BCode</a>();</td></tr>
			<tr><td align="right"/><td><a href="#BCode(char)">BCode</a>(char ch);</td></tr>
			<tr><td align="right"/><td><a href="#BCode(const BCode&)">BCode</a>(const BCode& code);</td></tr>
			<tr><td align="right">inline char </td><td><a href="#num()">num</a>() const;</td></tr>
			<tr><td align="right">inline const char* </td><td><a href="#str()">str</a>() const;</td></tr>
			<tr><td align="right">inline </td><td><a href="#operator int()">operator int</a>() const;</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator = (const char*)">operator = </a>(const char* cstr);</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator == (char)">operator == </a>(char code) const;</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator == (short)">operator == </a>(short code) const;</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator == (int)">operator == </a>(int code) const;</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator == (const BCode&)">operator == </a>(const BCode& code) const;</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator != (char)">operator != </a>(char code) const;</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator != (short)">operator != </a>(short code) const;</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator != (int)">operator != </a>(int code) const;</td></tr>
			<tr><td align="right">inline bool </td><td><a href="#operator != (const BCode&)">operator != </a>(const BCode& code) const;</td></tr>
		</table>
		<h2>protected</h2>
		<table id="protected"/>
		<div id="desc">
			<h2>Detailed Description : </h2>
			<p>The BCode class provides a UTF8 character.</p>
			<p>It is a piece of BString, contains an ascii code or utf-8 code or GBK code. You can get the number of bytes using BCode::num(), get string contains this code using BCode::str().</p>
		</div>
		<h2 id="docs">Member Documentation</h2>
		<div id="BCode()">
			<h3>BCode();</h3>
			<p>Constructs a empty code.</p>
		</div>
		<div id="BCode(char)">
			<h3>BCode(char ch);</h3>
			<p>Constructs a code with an ascii character. num is 1.</p>
		</div>
		<div id="BCode(const BCode&)">
			<h3>BCode(const BCode& code);</h3>
			<p>Constructs a code by coping other code.</p>
		</div>
		<div id="num()">
			<h3>inline char num() const;</h3>
			<p>Return the number of bytes this code takes.</p>
		</div>
		<div id="str()">
			<h3>inline const char* str() const;</h3>
			<p>Return the tiny str contains the character, eg code == 'a' returns "a".This is interesting to show the data.</p>
		</div>
		<div id="operator int()">
			<h3>inline operator int() const;</h3>
			<p>Get the value of code as a integer.</p>
			<p/>
		</div>
		<div id="operator = (const char*)">
			<h3>inline bool operator = (const char* cstr);</h3>
			<p>Contructs a code starts at the cstr. this will check the type of code, then copys the bytes.</p>
		</div>
		<div id="operator == (char)">
			<h3>inline bool operator == (char code) const;</h3>
		</div>
		<div id="operator == (short)">
			<h3>inline bool operator == (short code) const;</h3>
		</div>
		<div id="operator == (int)">
			<h3>inline bool operator == (int code) const;</h3>
		</div>
		<div id="operator == (const BCode&)">
			<h3>inline bool operator == (const BCode& code) const;</h3>
		</div>
		<div id="operator != (char)">
			<h3>inline bool operator != (char code) const;</h3>
		</div>
		<div id="operator != (short)">
			<h3>inline bool operator != (short code) const;</h3>
		</div>
		<div id="operator != (int)">
			<h3>inline bool operator != (int code) const;</h3>
		</div>
		<div id="operator != (const BCode&)">
			<h3>inline bool operator != (const BCode& code) const;</h3>
		</div>
	</body>
</html>